﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.VehicleType
{
    /// <summary>
    /// 车辆类型实体
    /// </summary>
    public class VehicleTypeEntity
    {
        /// <summary>
        /// 车型Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int VehicleTypeId { get; set; }

        /// <summary>
        /// 车型图片路径
        /// </summary>
        public string VehiclePicPath { get; set; }

        /// <summary>
        /// 车型名称
        /// </summary>
        public string VehicleTypeName { get; set; }

        /// <summary>
        /// 车辆所属类型（对应字典引用检索键）
        /// </summary>
        public string VehicleTypeEnum { get; set; }

        /// <summary>
        /// 适用司机类型
        /// </summary>
        public string AppliedTo { get; set; }

        /// <summary>
        /// 车辆长度
        /// </summary>
        public decimal VehicleLength { get; set; }

        /// <summary>
        /// 车辆宽度
        /// </summary>
        public decimal VehicleWidth { get; set; }

        /// <summary>
        /// 车辆高度
        /// </summary>
        public decimal VehicleHeight { get; set; }

        /// <summary>
        /// 车辆长度系数
        /// </summary>
        public decimal VehicleLengthRatio { get; set; }

        /// <summary>
        /// 车辆宽度系数
        /// </summary>
        public decimal VehicleWidthRatio { get; set; }

        /// <summary>
        /// 车辆高度系数
        /// </summary>
        public decimal VehicleHeightRatio { get; set; }

        /// <summary>
        /// 车辆轴距
        /// </summary>
        public decimal? VehicleWheelbase { get; set; }

        /// <summary>
        /// 最大载重
        /// </summary>
        public int MaxWeight { get; set; }

        /// <summary>
        /// 最大载货立方
        /// </summary>
        public decimal MaxStere { get; set; }

        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public string Editer { get; set; }

        /// <summary>
        /// 油耗
        /// </summary>
        public decimal? OilConsumption { get; set; }

        /// <summary>
        /// 油耗价格
        /// </summary>
        public decimal? OilConsumptionPrice { get; set; }

        /// <summary>
        /// 每日利润
        /// </summary>
        public decimal EverdayProfit { get; set; }
    }
}